# _*_coding:UTF-8 _*_
# 顺序查找 ,线性查找

def linear_search(li,val):
    for ind,v in enumerate(li):
        if v == val:
            return ind
    else:
        return None
